CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
PROJECT(DataAnalyze)
add_definitions(-std=c++11)

FIND_PACKAGE(OpenCV REQUIRED)
FIND_PACKAGE(Eigen3 REQUIRED)
INCLUDE_DIRECTORIES(${OPENCV_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIRS})
MESSAGE(STATUS EIGEN_INCLUDE_DIRS: "${EIGEN3_INCLUDE_DIRS}")

ADD_EXECUTABLE(${PROJECT_NAME} dataAnalyze.cpp)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${OpenCV_LIBS})
